<?php
namespace Admin\Model;
use Think\Model;
class VdiskModel extends Model{
	public function collectContent($url){
  		$content=file_get_contents($url);
  		echo $content;die();
		//匹配datainfo
		$preg_datainfo='#data-info=\'(.*)\'#isU';
		preg_match_all($preg_datainfo, $content,$datainfo);
// 		print_r($datainfo);
		$preg_url='#ajaxSlideShare?_=0.4816518928958943#isU';
		preg_match_all($preg_url, $content,$dataUrl);
		print_r($dataUrl);
		$arr=array_unique($datainfo[1]);
// 		print_r($arr);
	}
	public function collectUrl($url){
		
	}
	
}